package com.configurator;

import javafx.scene.control.Button;

/**
 *
 * @author Sawior
 */
public class SpaceButton extends Button {

    private int spaceLevel;
    private int x;
    private int y;

    public SpaceButton(int x, int y, int spaceLevel) {
        super();
        this.x = x;
        this.y = y;
        this.spaceLevel = spaceLevel;
        this.wrapTextProperty().set(true);
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getSpaceLevel() {
        return spaceLevel;
    }

    public void setSpaceLevel(int spaceLevel) {
        this.spaceLevel = spaceLevel;
    }
}
